From 1da4782262d8ca330cd05692b326e8c323417806 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 2 Feb 2023 17:10:09 +0100 Subject: [PATCH] gsk: Fix a compiler warning --- gsk/gl/gskglcommandqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsk/gl/gskglcommandqueue.c b/gsk/gl/gskglcommandqueue.c index 640b87bf12..8a1f9c84b0 100644 --- a/gsk/gl/gskglcommandqueue.c +++ b/gsk/gl/gskglcommandqueue.c @@ -956,7 +956,7 @@ gsk_gl_command_queue_execute (GskGLCommandQueue *self, guint default_framebuffer) { G_GNUC_UNUSED guint count = 0; - graphene_rect_t scissor_test = { 0, }; + graphene_rect_t scissor_test = GRAPHENE_RECT_INIT (0, 0, 0, 0); gboolean has_scissor = scissor != NULL; gboolean scissor_state = -1; guint program = 0; -- 2.30.2